package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Article;

public interface ArticleDAO {  
    
    public void save(Article transientInstance);
    
	public void delete(Article persistentInstance);
    
    public Article findById( java.lang.Integer id) ;    
    
    public List<Article> findByExample(Article instance);
    
    public List findByProperty(String propertyName, Object value);

	public List<Article> findByMemberid(Object memberid);
		
	public List<Article> findByCategoryid(Object categoryid);
	
	public List<Article> findByTitle(Object title);
	
	public List findByPage();
	
    public Article merge(Article detachedInstance);

}